let a = 1
const b = a++
console.log(b)
// const c = (1).toString(2)
// console.log(c)
// console.log(~c)

const c = parseInt((1).toString(2), 2);
console.log(c);
console.log(~c)
const reversedC = ~c >>> 0;
console.log(reversedC.toString(2));


console.log(2**8)

let obj = {
  a:1
}

console.log('a' in obj)



const user = {
  name: '小明',
  age: 20
};

const displayName = user.name ?? '未知';
const displayAge = user.age ?? '未知';
const displayGender = user.gender ?? '未知';

console.log(displayName); // 输出：'小明'
console.log(displayAge); // 输出：20
console.log(displayGender); // 输出：'未知'

let num = 2;
num = num++
// num = num = num + 1
let a1 = 0,
    b1 = 0,
    c1 = 0;
    // a1 = b1 = c1 = num
console.log(num)
console.log(a1,b1,c1)
num1 = a1:b1;

let an = ('123','456')
console.log(an)

